package com.xcity.pomelo.push.msg;

import com.xcity.pomelo.PomeloRoute;
import com.xcity.pomelo.push.AbstractMessagePush;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

/**
 * 红点提示
 * @author yang.li
 *
 */
@PomeloMessage(type = Message.Type.PUSH, route = PomeloRoute.PUSH_MESSAGE)
public class DotTipPush extends AbstractMessagePush {

	protected byte id;
	
	public static final DotTipPush NEWS = new DotTipPush(1); // 有新的新闻发生(即世界事件)
	public static final DotTipPush TASKS_FINISHED = new DotTipPush(2); // 完成任务
	public static final DotTipPush NEW_MAIL = new DotTipPush(3); // 有新邮件
	public static final DotTipPush ACHIEVE_FINISHED = new DotTipPush(4); // 完成成就
	public static final DotTipPush NEW_CHAT = new DotTipPush(5); // 聊天提醒(公聊、私聊)
	public static final DotTipPush NEW_FRIEND_APPLY = new DotTipPush(6); // 有好友申请
	public static final DotTipPush NEW_MINE_REPORT = new DotTipPush(7); //有新战报
	
	private DotTipPush(int id) {
		super(MSG_DOT_TIP);
		this.id = (byte) id;
	}

	public byte getId() {
		return id;
	}

	public void setId(byte id) {
		this.id = id;
	}

}
